package com.weishi.project.training.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weishi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * trainingDay
 */
@Data
@TableName("tbl_training_day")
public class TrainingDay implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * PK
     */
    private Integer id;

    /**
     * 训练周Id
     */
    @Excel(name = "训练周Id")
    private Integer weekId;

    /**
     * Mon,Tues,Wed,Thur,Fri,Sat,Sun
     */
    private String dayWeek;

    /**
     * 四时：早晨beforedawn 上午：morning 下午：afternoon 晚上：night
     */
    @Excel(name = "四时：早晨beforedawn 上午：morning 下午：afternoon 晚上：night")
    private String fourSeasons;

    /**
     * 一级科目
     */
    @Excel(name = "一级科目")
    private String firstLevel;

    /**
     * 二级科目
     */
    @Excel(name = "二级科目")
    private String secondLevel;

    private String firstLevelName;

    private String secondLevelName;

    /**
     * 课时 /分钟
     */
    @Excel(name = "课时")
    private double classHour;

    /**
     * 课时 /分钟
     */
    @Excel(name = "课时")
    private double realClassHour;

    /**
     * 公里数
     */
    @Excel(name = "公里数")
    private Integer kilometers;

    /**
     * 理想公里数
     */
    @Excel(name = "理想公里数")
    private Integer idealKilometers;

    @Excel(name = "热身公里数")
    private Integer warmUpKilometers;

    /**
     * 桨频sr
     */
    private Integer sr;

    @Excel(name = "桨频")
    private String srMemo;

    /**
     * 桨频sr2
     */
    private Integer srTwo;

    /**
     * 心率HR
     */
    @Excel(name = "心率HR")
    private Integer hr;

    /**
     * 心率HR2
     */
    private Integer hrTwo;

    /**
     * 组数
     */
    @Excel(name = "组数")
    private Integer numberGroups;

    @Excel(name = "日期")
    private String day;

    /**
     * 间隙时间/min
     */
    @Excel(name = "间隙时间/min")
    private Integer gapTime;

    @Excel(name = "强度")
    private String strength;

    @Excel(name = "评分")
    private double score;

    @Excel(name = "开始时间")
    private String startTime;

    @Excel(name = "结束时间")
    private String endTime;

    /**
     * 天气
     */
    @Excel(name = "天气")
    private String weather;

    /**
     * 风速
     */
    @Excel(name = "风速")
    private String windSpeed;

    /**
     * 气温
     */
    @Excel(name = "气温")
    private Double airTemperature;

    /**
     * 场地因素
     */
    @Excel(name = "场地因素")
    private String siteFactors;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    /**
     * 周名称 非数据库字段
     */
    @TableField(exist = false)
    private String weekName;

    //完成度
    private double completion=1.0d;

    /**
     * 训练模式 0、默认公里数计时，1、默认时长计公里数
     */
    private int trainingMode;

    @Excel(name = "训练方案 id")
    private Integer schemeId;

    @Excel(name = "训练课质量（ 优秀，良好，一般，较差，差 ）")
    private String quality;

    @Excel(name = "课程标签 （ 1 代表测试课 0 正常课 ）")
    private Integer label;

    @Excel(name = "课程备注")
    private String remarks;







}